package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Activity;
import com.bjpowernode.crm.workbench.domain.Clue;

import java.util.List;
import java.util.Map;

public interface ClueService {

    //保存创建的线索
    int saveCreateClue(Clue clue);

    //通过条件分页查询数据
    List<Clue> queryClueByConditionForPage(Map<String,Object> map);

    //根据条件查询线索的总条数
    int queryCountOfClueByCondition(Map<String,Object> map);

    //根据ids批量删除线索
    int deleteClueByIds(String[] ids);

    //根据id查询线索的信息
    Clue queryClueById(String id);

    //保存修改的线索
    int saveEditClue(Clue clue);

    //根据线索的id查看详细信息
    Clue queryClueForDetailById(String id);

    void saveConvertClue(Map<String,Object> map);
}
